import { constantRoutes } from '@/router'

export default {
  namespaced: true,
  state: {
    menusList: []
  },
  mutations: {
    setMenus(state, payload) {
      console.log(payload, 'payload')
      console.log(constantRoutes, 'constantRoutes')
      state.menusList = [...constantRoutes, ...payload]
    }
  }
}
